package com.example.carrierapp.bean.find;

import java.util.List;

/**
 * 找货列表
 */
public class FindGoodsListBean {
    int totalCount;// (integer, optional),
    List<DispatchInfo> items;// (Array[Logistics.Application.CarrierApp.SourceOfGoods.BiddingDto], optional)

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<DispatchInfo> getItems() {
        return items;
    }

    public void setItems(List<DispatchInfo> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "FindGoodsListBean{" +
                "totalCount=" + totalCount +
                ", items=" + items +
                '}';
    }

    public class DispatchInfo {
        public int lineID;//路线ID , (integer, optional):
        public String bidCode;// 编码 , (string, optional):
        public double proNum;// 预计运输量 ,  (number, optional):
        public int paidModel;// 抢竞模式 1竞价2抢单 = ['1', '2'], (integer, optional):
        public String paidModelDescription;// 抢竞模式描述 ,  (string, optional, read only):
        public String operationTip;//操作按钮提未文字 ,  (string, optional):
        public int startArea;//出发地 ,  (integer, optional):
        public String startCity;// 出发城市 , (string, optional):
        public int endArea;//目的地 ,  (integer, optional):
        public String endCity;//   目的地市 , (string, optional):
        public String createDate;//数据创建时间 ,  (string, optional):
        public String proID;// 产品ID , (string, optional):
        public String proName;// 货物名称 , (string, optional):
        public int unit;// 计价单位 (1吨2整车3件4立方) = ['1', '2', '4'], (integer, optional):
        public String unitName;// 计价单位名称 , (string, optional, read only):
        public int shortDistance;//是否短倒 0非短倒1短倒 ,  (integer, optional):
        public String shortDistanceTip;//短倒提示文字 ,  (string, optional):
        public double offer;// 报价(含税) , (number, optional):
        public double taxRate;//承运商税率 ,  (number, optional):
        public double unTaxOffer;// 承运商(计算得到不含税报价) , (number, optional):
        public int isWin;// 是否中标 1中标0未中标 , (integer, optional):
        public int id;//  (integer, optional)
        public String shipperName="";
        public boolean isGroup;//是否是多线、

        @Override
        public String toString() {
            return "DispatchInfo{" +
                    "lineID=" + lineID +
                    ", bidCode='" + bidCode + '\'' +
                    ", proNum=" + proNum +
                    ", paidModel=" + paidModel +
                    ", paidModelDescription='" + paidModelDescription + '\'' +
                    ", operationTip='" + operationTip + '\'' +
                    ", startArea=" + startArea +
                    ", startCity='" + startCity + '\'' +
                    ", endArea=" + endArea +
                    ", endCity='" + endCity + '\'' +
                    ", createDate='" + createDate + '\'' +
                    ", proID='" + proID + '\'' +
                    ", proName='" + proName + '\'' +
                    ", unit=" + unit +
                    ", unitName='" + unitName + '\'' +
                    ", shortDistance=" + shortDistance +
                    ", shortDistanceTip='" + shortDistanceTip + '\'' +
                    ", offer=" + offer +
                    ", taxRate=" + taxRate +
                    ", unTaxOffer=" + unTaxOffer +
                    ", isWin=" + isWin +
                    ", id=" + id +
                    ", shipperName='" + shipperName + '\'' +
                    ", isGroup=" + isGroup +
                    '}';
        }
    }
}
